package router

import (
	"github.com/gin-gonic/gin"
	"likeadmin/scyDirection"
)

//var scyModuleName = "scy"

func SetScyDirectionRouter(r *gin.Engine) *gin.Engine {

	r.POST("/"+scyModuleName+"/createScyDirection", scyDirection.CreateScyDirection)
	r.POST("/"+scyModuleName+"/updateScyDirection", scyDirection.UpdateScyDirection)
	r.POST("/"+scyModuleName+"/deleteScyDirection", scyDirection.DeleteScyDirection)
	r.POST("/"+scyModuleName+"/getScyDirectionList", scyDirection.GetScyDirectionList)

	return r
}
